package com.wicket.okrframework.dal.po.mbg;
    
import com.baomidou.mybatisplus.annotation.*;

import org.springframework.beans.BeanUtils;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wicket.okrframework.common.annotations.OrderFlag;
import com.wicket.okrframework.common.annotations.LikeFlag;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 用于构建业务应用+业务场景的关系
无空间、无应用
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("oms_base_biz_app_scene_relationship")
public class BizAppSceneRelationship extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 应用场景关系ID 
     */
    @TableId(value = "biz_app_scene_relationship_id", type = IdType.UUID)
		@NotNull(message = "bizAppSceneRelationshipId不能为空")
    private String	 bizAppSceneRelationshipId;
    /**
     * 被赋能业务场景ID 
     */
    @TableField(value = "biz_scene_id")
		@NotNull(message = "被赋能业务场景ID不能为空")
		@ApiModelProperty("被赋能业务场景ID")
    private String	 bizSceneId;
    /**
     * 被赋能业务应用ID 
     */
    @TableField(value = "by_biz_app_id")
		@NotNull(message = "被赋能业务应用ID不能为空")
		@ApiModelProperty("被赋能业务应用ID")
    private String	 byBizAppId;
    /**
     * 赋能业务应用ID 
     */
    @TableField(value = "biz_app_id")
		@NotNull(message = "赋能业务应用ID不能为空")
		@ApiModelProperty("赋能业务应用ID")
    private String	 bizAppId;
    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
		@NotNull(message = "主体生命周期不能为空")
		@ApiModelProperty("主体生命周期")
    private String	 subjectLifeCycle;
    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
		@NotNull(message = "是否存档不能为空")
		@ApiModelProperty("是否存档")
    private String	 isArchive;
    /**
     * 操作人就职记录Id 
     */
    @TableField(value = "operation_induction_id")
		@NotNull(message = "操作人就职记录Id不能为空")
		@ApiModelProperty("操作人就职记录Id")
    private String	 operationInductionId;
    /**
     * 创建人就职记录ID 
     */
    @TableField(value = "create_induction_id")
		@NotNull(message = "创建人就职记录ID不能为空")
		@ApiModelProperty("创建人就职记录ID")
    private String	 createInductionId;
    /**
     * 发布人就职记录ID 
     */
    @TableField(value = "release_induction_id")
		@ApiModelProperty("发布人就职记录ID")
    private String	 releaseInductionId;
    /**
     * 存档人就职记录ID 
     */
    @TableField(value = "archive_induction_id")
		@ApiModelProperty("存档人就职记录ID")
    private String	 archiveInductionId;
    /**
     * 操作时间 
     */
    @TableField(value = "operate_time")
		@NotNull(message = "操作时间不能为空")
		@ApiModelProperty("操作时间")
    private Date	 operateTime;
    /**
     * 创建时间 
     */
    @TableField(value = "create_time")
		@NotNull(message = "创建时间不能为空")
		@ApiModelProperty("创建时间")
    private Date	 createTime;
    /**
     * 发布时间 
     */
    @TableField(value = "release_time")
		@ApiModelProperty("发布时间")
    private Date	 releaseTime;
    /**
     * 存档时间 
     */
    @TableField(value = "archive_time")
		@ApiModelProperty("存档时间")
    private Date	 archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
		@NotNull(message = "是否作废不能为空")
		@ApiModelProperty("是否作废")
    private String	 isValid;
    /**
     * 创建于空间ID 
     */
    @TableField(value = "space_id")
		@NotNull(message = "创建于空间ID不能为空")
		@ApiModelProperty("创建于空间ID")
    private String	 spaceId;
    /**
     * 创建于联盟应用ID 
     */
    @TableField(value = "app_id")
		@NotNull(message = "创建于联盟应用ID不能为空")
		@ApiModelProperty("创建于联盟应用ID")
    private String	 appId;
}
